package com.flower.core_service.sources;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

/**
 * @ClassName CoreSource
 * @Description 自定义bindings
 * @Author 张晓焕
 * @Date 2022/8/9 22:26
 * @Version 1.0
 */
public interface CoreSource {
    String OUTPUT="coreSourceOutput"; //生产渠道 与配置文件同名

    @Output(CoreSource.OUTPUT)
    MessageChannel output();
}
